package com.rh.bmw4s.ui;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;

import com.rh.bmw4s.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class TestActivity extends BaseActivity {

    @BindView(R.id.test_button)
    Button testButton;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
        ButterKnife.bind(this);

    }

    @OnClick(R.id.test_button)
    public void onViewClicked() {
        Intent i = new Intent();
        i.putExtra("back", "ddsgdsgd");
        this.setResult(112, i);
        this.finish();
    }
}
